package com.cloud.note.service;

import com.cloud.note.dto.auth.LoginRequest;
import com.cloud.note.dto.auth.LoginResponse;
import com.cloud.note.dto.auth.RegisterRequest;
import com.cloud.note.dto.auth.TokenRefreshResponse;

public interface AuthService {

    LoginResponse login(LoginRequest loginRequest);

    LoginResponse register(RegisterRequest registerRequest);

    TokenRefreshResponse refreshToken(String token);

    void logout(String token);
}